package com.tedu;

public class Test003 {
    public static void main (String[] args) {
        int a = 10;
        int b = 20;
        f1(a, b);
        int i = f2(a, b);
//        System.out.println(  f1(a, b));
        System.out.println(f2(a, b));
        System.out.println(i + 10);

    }

    private static int f2 (int a, int b) {
        int i = a + b;
        System.out.println("i = " + i);
        return i;
    }

    private static void f1 (int a, int b) {
        int i = a + b;
        System.out.println("i = " + i);
    }
}
